package com.plugin.dingding.wxcorp;

import com.plugin.dingding.AjaxRet;
import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 企业微信开发类
 */
@RestController
@RequestMapping("/corpwx")
@CrossOrigin
@Log4j2
public class CorpwxController {


    @GetMapping("/index")
    public AjaxRet index(){
        return AjaxRet.success("I'm alive");
    }



}
